package org.cyb.demo.service;

import org.cyb.demo.domain.Course;
import org.cyb.demo.domain.Major;
import org.cyb.demo.domain.Ppt;
import org.cyb.demo.domain.Video;

import java.util.List;

public interface CourseService {
    List<Course> getByMajorName(Major major);

    List<Course> getByCourseName(Course course);

    List<Course> getAll();

    Course getOneByName(Course course);

    Course getOneById(Course course);

    void delete(Course course);

    void add(Course course,Major major);
}
